package com.etone.smartAudit.vo.task;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author: 蒋学伟
 * @create: 2020-07-03 16:17:19
 * @Description TaskDetail
 */
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@Data
@ApiModel(value = "TaskListVO", description = "任务详情")
public class ModuleTaskDetailVO extends BaseTaskVO implements Serializable {
    @ApiModelProperty("模型所属用户")
    private String moduleUser;

    @ApiModelProperty("所属数据库")
    private String database;

    @ApiModelProperty("模型中文名称")
    private String tableName;

    @ApiModelProperty("模型英文名称")
    private String tableNameEn;

    @ApiModelProperty("字段信息")
    private List<ModuleColumnVO> moduleColumns;

    @ApiModelProperty("建表语句")
    private String sql;

    @ApiModelProperty("模型用途")
    private String tablePurpose;

    @ApiModelProperty("预计占用空间")
    private Double usedSpace;

    @ApiModelProperty("数据保存时长")
    private Date dataSaveTime;

    @ApiModelProperty("数据来源")
    private String dataSource;

    @ApiModelProperty("清理方案")
    private String clearPlan;

    @ApiModelProperty("联系人")
    private String contactName;

    @ApiModelProperty("联系方式")
    private String tel;

    @ApiModelProperty("备注")
    private String remark;
}
